<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title><?php echo $this->html_meta['page_title']; ?></title>
	
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta name="keywords" content="<?php echo $this->html_meta['meta_keywords']; ?>" />
	<meta name="description" content="<?php echo trim(strip_tags($this->html_meta['meta_description'])); ?>" />
	<?php 
		if (array_key_exists('robots', $this->html_meta))
			echo '<meta name="robots" content="',$this->html_meta['robots'],'" />';
		
		foreach ($this->css_head as $item) 
			echo '<link rel="stylesheet" type="text/css" href="', $this->config->config['public_url'], $item,'" />';
	
		foreach ($this->javascript_head as $item) 
			echo '<script type="text/javascript" src="',$this->config->config['public_url'], $item,'"></script>';
		
	?>
</head>

<body>
	<div class="header"><?php echo $header; ?></div>
	<div class="content"><?php echo $content; ?></div>
</body>
</html>